From d17552670c467b234bd444e103e522c0c66e2971 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 20 Sep 2021 07:04:20 +0200 Subject: [PATCH] wayland: Add format hex value to debug print It's how it's listed in the spec, this makes it easier to search. --- gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c index 4a5f633369..4f70a3c833 100644 --- a/gdk/wayland/gdkdisplay-wayland.c +++ b/gdk/wayland/gdkdisplay-wayland.c @@ -296,7 +296,7 @@ wl_shm_format (void *data, { GDK_NOTE (MISC, char buf[10]; - g_message ("supported pixel format %s", get_format_name (format, buf)); + g_message ("supported pixel format %s (0x%X)", get_format_name (format, buf), (guint) format); ); } -- 2.30.2